package com.tanhua.dubbo.api;

import com.tanhua.domain.mongo.Publish;
import com.tanhua.domain.vo.PageResult;

import java.util.ArrayList;
import java.util.List;

public interface PublishApi {
    Publish findById(String publishId);

    PageResult findPublishList(Integer page, Integer pagesize, Long uid);

    void update(Publish publish);

    List<Publish> findPublishByPid(ArrayList<Long> pids);
}
